import { FC, Suspense, memo } from 'react'
import { RightMianWrapper } from './style'
import { Outlet } from 'react-router-dom'

interface IState {
  children?: React.ReactNode
}

const RightMian: FC<IState> = memo(() => {
  return (
    <RightMianWrapper>
      <Suspense>
        <Outlet />
      </Suspense>
    </RightMianWrapper>
  )
})

export default RightMian
